package com.sxpi.chapter02.service.user;

import com.sxpi.chapter02.pojo.User;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @Author: 董伟豪
 * @Date: 2023/2/4 12:51
 */
@Service
@Slf4j
public class IUserServiceImpl implements IUserService{

    @Override
    public User getUserById(Long userId) {
        User user = new User();
        user.setId(1L);
        user.setUsername("张三");
        user.setVip(2);
        return user;
    }
}
